package com.dd.logistics.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dd.logistics.entity.Supplier;

public interface SupplierService extends IService<Supplier> {
    // 根据名称查询供应商
    Supplier getByName(String name);
    
    // 更新供应商信息
    boolean updateSupplierInfo(Supplier supplier);
    
    // 检查供应商是否存在
    boolean checkSupplierExists(Long supplierId);
} 